package tech.aistar.day06.biz;

/**
 * 本类用来演示:
 *
 * @author: success
 * @date: 2021/3/15 9:41 上午
 */
public class Account {

        private int id;

        private String accno;

        private double balance;

    public Account() {
    }

    public Account( int id, String accno,double balance){
        this.id = id;
        this.accno = accno;
        this.balance = balance;
    }

        public int getId () {
        return id;
    }

        public void setId ( int id){
        this.id = id;
    }

        public String getAccno () {
        return accno;
    }

        public void setAccno (String accno){
        this.accno = accno;
    }

        public double getBalance () {
        return balance;
    }

        public void setBalance ( double balance){
        this.balance = balance;
    }

        @Override
        public String toString () {
        return "Account{" +
                "id=" + id +
                ", accno='" + accno + '\'' +
                ", balance=" + balance +
                '}';
    }

    }